home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
bratz-estilista.swf
/
scripts
/
DefineSprite_890
/
frame_1
/
DoAction.as
Wrap
Text File
|
2008-03-17
|
1KB
|
35 lines
function refresh()
{
BratzLined.gotoAndStop(_global.charImage.character);
BratzLined.Bratz.gotoAndStop("filled");
BratzLined.Dresses.gotoAndStop(_global.charImage.Dresses.Dresses);
BratzLined.Dresses.Dresses.gotoAndStop(_global.charImage.Dresses.Alt);
restore("Dresses");
BratzLined.Tops.gotoAndStop(_global.charImage.Tops.Tops);
BratzLined.Tops.Tops.gotoAndStop(_global.charImage.Tops.Alt);
restore("Tops");
BratzLined.Bottoms.gotoAndStop(_global.charImage.Bottoms.Bottoms);
BratzLined.Bottoms.Bottoms.gotoAndStop(_global.charImage.Bottoms.Alt);
restore("Bottoms");
BratzLined.Bags.gotoAndStop(_global.charImage.Bags.Bags);
restore("Bags");
BratzLined.Shoes.gotoAndStop(_global.charImage.Shoes.Shoes);
restore("Shoes");
}
function restore(item)
{
for(var _loc3_ in _global.charImage[item].Colors)
{
BratzLined[item][item][_loc3_].restore(_global.charImage[item].Colors[_loc3_]);
}
}
var birth = getTimer();
onEnterFrame = function()
{
refresh();
if(getTimer() > birth + 500)
{
delete onEnterFrame;
}
};